package com.sn.author.common.exception;

import com.sn.author.common.enums.ExceptionEnum;

public class EncodeException extends AException {

    public EncodeException(String message) {
        super(ExceptionEnum.ENCODE_ERR.getMessage());
    }

    public EncodeException(ExceptionEnum exceptionEnum){
        super(exceptionEnum.getMessage());
    }

    public EncodeException(String message, Throwable cause) {
        super(message, cause);
    }

    public EncodeException() {

    }

}
